<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/taglib.jsp" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

    <title>聚人消费网络有限公司</title>
    <!--[if IE 8]>
    <script type='text/javascript' src='${ctx}/js/excanvas.js'></script>
    <link rel="stylesheet" href="${ctx}/css/IEfix.css" type="text/css" media="screen"/>
    <![endif]-->

    <!--[if IE 7]>
    <script type='text/javascript' src='${ctx}/js/excanvas.js'></script>
    <link rel="stylesheet" href="${ctx}/css/IEfix.css" type="text/css" media="screen"/>
    <![endif]-->
    <link type="text/css" href="${ctx}/css/style.css" rel="stylesheet"/>
    <!-- the layout css file -->
    <link type="text/css" href="${ctx}/css/jquery.cleditor.css" rel="stylesheet"/>

    <script type='text/javascript' src='${ctx}/js/jquery-1.4.2.min.js'></script>
    <!-- jquery library -->
    <script type='text/javascript' src='${ctx}/js/jquery-ui-1.8.5.custom.min.js'></script>
    <!-- jquery UI -->
    <script type='text/javascript' src='${ctx}/js/cufon-yui.js'></script>
    <!-- Cufon font replacement -->
    <script type='text/javascript' src='${ctx}/js/colaboratelight_400.font.js'></script>
    <!-- the Colaborate Light font -->
    <script type='text/javascript' src='${ctx}/js/easytooltip.js'></script>
    <!-- element tooltips -->
    <script type='text/javascript' src='${ctx}/js/jquery.tablesorter.min.js'></script>
    <!-- tablesorter -->


    <script type='text/javascript' src='${ctx}/js/visualize.jquery.js'></script>
    <!-- visualize plugin for graphs / statistics -->
    <script type='text/javascript' src='${ctx}/js/iphone-style-checkboxes.js'></script>
    <!-- iphone like checkboxes -->
    <script type='text/javascript' src='${ctx}/js/jquery.cleditor.min.js'></script>
    <!-- wysiwyg editor -->

    <script type='text/javascript' src='${ctx}/js/custom.js'></script>
    <!-- the "make them work" script -->
    <meta charset="UTF-8">
</head>

<body>

<div id="container">
    <div id="bgwrap">

        <div id="primary_left">

            <div id="logo">
                <a href="#" title="Dashboard"><img src="${ctx}/assets/LogoMaker.png" width="220" height="48"
                                                   alt=""/></a>
            </div>
            <!-- logo end -->

            <div id="menu"> <!-- navigation menu -->
                <ul>
                    <c:if test="${userSessionInfo.state == 1}">
                        <li><a href="${ctx}/forward/index/html" class="dashboard"><img
                                src="${ctx}/assets/icons/small_icons_3/dashboard.png" alt=""/><span
                                class="current">首页</span></a></li>
                    </c:if>
                    <li class="current"><a href="${ctx}/user/userManager" class="dashboard"><img
                            src="${ctx}/assets/icons/small_icons_3/users.png" alt=""/><span
                            class="current">用户管理</span></a></li>
                    <c:if test="${userSessionInfo.state == 1}">
                        <li><a href="${ctx}/album" class="dashboard"><img
                                src="${ctx}/assets/icons/small_icons_3/media.png" alt=""/><span
                                class="current">产品图片管理</span></a></li>
                    </c:if>
                    <li class="fade_hover tooltip" title="返回网站主页">
                        <a href="${ctx}">
                            <img src="${ctx}/assets/icons/dashboard/back.png" alt=""/>
                            <span>返回网站主页</span>
                        </a>
                    </li>
                </ul>
            </div>
            <!-- navigation menu end -->
        </div>
        <!-- sidebar end -->
        <div id="primary_right">
            <div class="inner" style="width: 78%;">


                <ul class="dash">

                    <c:if test="${userSessionInfo.state == 1}">
                        <li class="fade_hover tooltip" title="返回用户管理">
                            <a href="${ctx}/user/userManager">
                                <img src="${ctx}/assets/icons/dashboard/back.png" alt=""/>
                                <span>返回用户管理</span>
                            </a>
                        </li>
                    </c:if>

                    <li class="fade_hover tooltip " title="退出系统">
                        <a href="${ctx}/user/logout">
                            <img src="${ctx}/assets/icons/dashboard/118.png" alt=""/>
                            <span>注销</span>
                        </a>
                    </li>

                </ul>
                <!-- end dashboard items -->


                <div class="clearboth"></div>

                <hr/>

                <span style="font-size: 28px;font-weight: bold;">线下用户查看</span>
                <table class="fancy fullwidth" style="margin-top: 15px;">
                    <thead>
                    <tr>
                        <th>用户编号</th>
                        <th>姓名</th>
                        <th>性别</th>
                        <th>联系方式</th>
                        <th>地址</th>
                        <th>职业</th>
                        <th>生日</th>
                        <th>加入时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    <c:forEach var="user" items="${users}">

                        <tr class="odd">
                            <td>${user.id}
                            </td>
                            <td>${user.nickName}
                            </td>
                            <td>${user.sex== 1 ? "男" : "女"}
                            </td>
                            <td>${user.phone}
                            </td>
                            <td>${user.address}
                            </td>
                            <td>${user.job}
                            </td>
                            <td>${user.birthday}
                            </td>
                            <td>${user.joinDate}
                            </td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>


            </div>
            <!-- inner -->
        </div>
        <!-- primary_right -->
    </div>
    <!-- bgwrap -->
</div>
<!-- container -->
</body>
</html>